Add delayed loading for textures
authorMatthias Clasen <mclasen@redhat.com>
Sat, 18 Sep 2021 17:25:47 +0000 (13:25 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 18 Sep 2021 21:35:00 +0000 (17:35 -0400)
commit4a89cfe2c938512c4580d3697cc08a64e41f5f36
treed61d6a74e72d00cb93f061741f6c0750c518341b
parentc9135546b6bd764c6fd07add93f7fc3ca246d2d8
Add delayed loading for textures

Add a private GdkPaintable implementation that
loads a texture in a thread, and does not show
anything until the texture is loaded. This avoid
blocking on image loading in the main thread.
gtk/gdkpixbufutils.c
gtk/gtkloader.c [new file with mode: 0644]
gtk/gtkloaderprivate.h [new file with mode: 0644]
gtk/meson.build